//
//  Board.h
//  CBoard
//
//  Created by Joan Bartrina Rapesta on 9/13/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

//---- Imports-----
#import <Foundation/Foundation.h>
#import "cocos2d.h"
//-----------------


//---Define new types----
#define TIME_SHOW_NEW_COMMUNITY_CARD 0.8f
//-----------------------

@interface CBoard : CCSprite 
{
@private
    NSString* fileSprites;
    
@public
    CCSprite        *m_CommunityCardsSprites[5];
    CCSprite        *m_CupisinSprite;
    CCSprite        *m_BoardSprite;
    int             m_CommunityCardsValues[5];
    unsigned int    m_CommunityCardsNumber;
    NSString        *m_sCommunityCard_file;
    CGSize          screenSize;
    unsigned int    m_uPositionIndex;
}

- (void) setCBoardEnviroment;
- (void) showNewCommunityCard:(unsigned int) index;
- (void) setm_CommunityCardsValues:(unsigned int)card;
- (void) removeCommunityCard:(unsigned int) cardIndex;

@end
